<template>
  <div id="offlineteaching">
    <div class="main">
      <Row>
        <!-- 大标题 -->
        <Col span="24" class="maxTitle">{{offlineTeach.maxTitle}}</Col>
      </Row>
      <Row>
        <!-- 描述 -->
        <Col span="24" class="minDes">{{offlineTeach.des}}</Col>
      </Row>
      <Row type="flex" justify="center">
        <!-- 图片部分 -->
        <Col span="12" v-for="(img,index) in offlineTeach.imgs" :key="index">
          <img class="offlineImage" :src="img" />
        </Col>
      </Row>
    </div>
  </div>
</template>

<script>
//导入iview-ui组件
import { Row, Col } from "view-design";

export default {
  name: "offlineteaching",
  //注册组件
  components: {
    Row,
    Col
  },
  //传入属性
  props:['offlineTeach'],
  data() {
    return {
      
    };
  },
  computed: {},
  watch: {},
  methods: {},
  created() {},
  mounted() {},
  beforeCreate() {}, //生命周期 - 创建之前
  beforeMount() {}, //生命周期 - 挂载之前
  beforeUpdate() {}, //生命周期 - 更新之前
  updated() {}, //生命周期 - 更新之后
  beforeDestroy() {}, //生命周期 - 销毁之前
  destroyed() {}, //生命周期 - 销毁完成
  activated() {} //如果页面有keep-alive缓存功能，这个函数会触发
};
</script>

<style scoped>
/* 局部UI样式修改 */
.main {
  font-size: 12px;
  color: #9b9b9b;
  text-align: center;
  padding: 50px 20px 70px;
}
.maxTitle {
  font-size: 20px;
  color: #5e5e5e;
  padding-bottom: 5px;
}
.minDes {
  padding-bottom: 10px;
}
.offlineImage {
  width: 157px;
  height: 111px;
  margin: 5px 0;
}
</style>